package com.hy.controller;


import com.hy.service.impl.ReportServiceImpl;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ReportController {
    private ReportServiceImpl reportService = new ReportServiceImpl();

    public void queryReport(HttpServletRequest request, HttpServletResponse response) throws Exception {
        reportService.listReport(request, response);
    }
    public void saveReport(HttpServletRequest request, HttpServletResponse response) throws Exception {
        reportService.addAccusation(request, response);
    }
}
